package com.slx.first_bad_version;

public class Test {
    public static void main(String[] args) {
        Solution solution = new Solution();

        solution.setBadVersion(new boolean[]{false, false, false, true, true});
        System.out.println(solution.firstBadVersion(5));
    }
}
